package com.vids.model.param;

import lombok.Data;

import java.util.List;

/**
 * GA/T 1400 订阅 入参
 */
@Data
public class SubscribeRequestObject
{

    private SubscribeListObject SubscribeListObject;

    @Data
    public static class SubscribeListObject
    {
        private List<Subscribe> SubscribeObject;
    }

    @Data
    public static class Subscribe
    {
        private String SubscribeID;
        private String Title;
        private String SubscribeDetail;
        private String ResourceURI;
        private String ApplicantName;
        private String ApplicantOrg;
        private String BeginTime;
        private String EndTime;
        private String ReceiveAddr;
        private Integer OperateType;	// 操作类型：0订阅 1取消订阅
        private Integer SubscribeStatus;
        private String Reason;

        private Integer ReportInterval;  // 信息上报时间间隔
        private String ResourceClass;   // 订阅类别
        private String ResultImageDeclare;  // 返回结果图片约定
        private Integer ResultFeatureDeclare;    // 返回结果特征值约定

        // 取消订阅-入参字段
        private String SubscribeCancelOrg;
        private String SubscribeCancelPerson;
        private String CancelTime;
        private String CancelReason;
    }
}
